package com.omega_r.omegarecyclerview.expandable_example.core;

import com.omega_r.libs.omegarecyclerview.base.BaseBean;

import java.util.Arrays;
import java.util.List;

public class SimpleData extends BaseBean {

    private String mTitle;
    private int mYear;
    private List<String> mQuotes;
    private int itemType;

    public static SimpleData from(String mTitle, int mYear, String... quotes) {
        return new SimpleData(mTitle, mYear, Arrays.asList(quotes));
    }

    public static SimpleData from(int itemType, String mTitle, int mYear, List<String> mQuotes) {
        return new SimpleData(itemType, mTitle, mYear, mQuotes);
    }

    public SimpleData(String mTitle, int mYear, List<String> mQuotes) {
        this.mTitle = mTitle;
        this.mYear = mYear;
        this.mQuotes = mQuotes;
    }

    public SimpleData(int itemType, String mTitle, int mYear, List<String> mQuotes) {
        this.itemType = itemType;
        this.mTitle = mTitle;
        this.mYear = mYear;
        this.mQuotes = mQuotes;
    }

    public String getmTitle() {
        return mTitle;
    }

    public void setmTitle(String mTitle) {
        this.mTitle = mTitle;
    }

    public int getmYear() {
        return mYear;
    }

    public void setmYear(int mYear) {
        this.mYear = mYear;
    }

    public List<String> getmQuotes() {
        return mQuotes;
    }

    public int getItemType() {
        return itemType;
    }

    public void setItemType(int itemType) {
        this.itemType = itemType;
    }

    public void setmQuotes(List<String> mQuotes) {
        this.mQuotes = mQuotes;
    }
}
